#import "hello.h"


@implementation Hello
- (id)initWithName:(NSString *)n {
    name = n;
    return self;
}

- (NSString *)hello:(NSString *)n caller:(NSString *)caller {
    NSString *result;
    if (name != nil) {
        result = [NSString stringWithFormat:@"hello %@,%@", name, caller];
    } else {
        result = [NSString stringWithFormat:@"hello %@,%@", n, caller];
    }
    return result;
}
@end